package test

import (
	"fmt"
	"reflect"
)

type I interface {
}

func addOne(i I)  *I{
	i = 3
	return &i
}

type S []I


func Test()  {
	var i I
	b:= 1
	var s =S{1,`asd`,123}
	fmt.Println("ssssssssss",s)
	for i:=0;i<len(s) ;i++  {
		fmt.Println(s[i])
		fmt.Println(reflect.TypeOf(s[i]))
	}
	c:=addOne(i)
	d:=addOne(b)
	fmt.Println(c,d)

}